import request from '@/utils/request'
/**
 * 部门
 **/
// 获取部门树形结构
export const departmentTree = params => request('/api/v1/PermissionDepartment/GetDepTree', { params: params });

// 创建部门
export const departmentCreate = data => request.post('/api/v1/PermissionDepartment/Create', data);

// 获取部门信息
export const departmentInfo = params => request('/api/v1/PermissionDepartment/Get', { params: params });

